package org.jsets.fastboot.flowable.controller;

import org.jsets.fastboot.model.DataResp;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/flows")
public class FlowPingController {
	
	@GetMapping(value = "/ping", produces = MediaType.APPLICATION_JSON_VALUE)
	public DataResp<String> ping(){
		return DataResp.ok("flow pong!!");
	}
	
}